package org.example.commend;

public abstract class Command {

    protected Receiver receiver;

    public Command(Receiver receiver) {
        this.receiver = receiver;
    }

    protected void execute(){
        receiver.action();
    }

}
